From aa3b4c3d0e255ad8ce49dea5cd8b3a591503185f Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Wed, 30 Jan 2013 12:06:23 -0500 Subject: [PATCH] docs: Add some extra details to the ELF note. Such as how the string values MUST be NULL terminated ASCII. Acked-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- xen/include/public/elfnote.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xen/include/public/elfnote.h b/xen/include/public/elfnote.h index b7e4574a12..8566a7e5ca 100644 --- a/xen/include/public/elfnote.h +++ b/xen/include/public/elfnote.h @@ -38,6 +38,9 @@ * * LEGACY indicated the fields in the legacy __xen_guest string which * this a note type replaces. + * + * String values (for non-legacy) are NULL terminated ASCII, also known + * as ASCIZ type. */ /* @@ -160,6 +163,9 @@ /* * Whether or not the guest supports cooperative suspend cancellation. + * This is a numeric value. + * + * Default is 0 */ #define XEN_ELFNOTE_SUSPEND_CANCEL 14 -- 2.30.2